package ihm.main;

import java.util.List;

import com.lo23.data.objinterface.User;
import com.lo23.data.objinterface.UserProfile;
import com.lo23.data.serializable.PictureCom;
import com.lo23.data.serializable.AlbumCom;
import com.lo23.data.serializable.PictureThumbnail;

public class Traitement {

	private static Traitement singleton; 

	private Traitement()
	{

	}

	public int sendMessage( int message ) {
		return message;
	}

	public int picturesSearchResults( List<PictureThumbnail> liste )
	{
		return 0;
	}

	public int pictureResult( PictureCom picture )
	{
		return 0;
	}

	public int albumResult( List<AlbumCom> album )
	{
		return 0;
	}

	public int albumListResults( List<AlbumCom> AlbumList )
	{
		return 0;
	}

	public int friendRequest( String friendId )
	{
		return 0;
	}

	public int friendRequestResponse( String friendId )
	{
		return 0;
	}

	public int userDisconnection( User formerUser )
	{
		return 0;
	}

	public int userConnection( User newUser )
	{
		return 0;
	}

	public int userInfos( UserProfile user )
	{
		return 0;
	}

	public static Traitement getInstance()
	{
		if( singleton == null )
		{
			singleton = new Traitement();
		}
		return singleton;
	}


}
